This tool can help you track down faulty IPS patch records causing critical errors in your roms without you needing to know anything about the internal structure of the IPS/Rom file. Also included is the sourcecode of the tool.